package com.mo.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * baseInfo相关配置
 *
 * @author lizhihao
 * @date 2018-07-17 17:47
 */
@Configuration
@ConfigurationProperties(prefix = BaseInfoProperties.BASEINFO_PREFIX)
public class BaseInfoProperties {
	public static final String BASEINFO_PREFIX = "baseInfo";
	
	private boolean useMemcache;
	
	private boolean useRegionColumns;
	
	private String defaultRegion;
	
	private String pushVPath;
	
	private HessianProperties hessian;
	
	private TvPrefixProperties tvPrefix;
	
	private CDNProperties cdn;
	
	private JobProperties job;
	
	private JSchProperties jsch;
	

	public String getDefaultRegion() {
		return defaultRegion;
	}

	public void setDefaultRegion(String defaultRegion) {
		this.defaultRegion = defaultRegion;
	}

	public boolean getUseRegionColumns() {
		return useRegionColumns;
	}

	public void setUseRegionColumns(boolean useRegionColumns) {
		this.useRegionColumns = useRegionColumns;
	}

	public static String getBaseinfoPrefix() {
		return BASEINFO_PREFIX;
	}

	public HessianProperties getHessian() {
		return hessian;
	}

	public void setHessian(HessianProperties hessian) {
		this.hessian = hessian;
	}

	public TvPrefixProperties getTvPrefix() {
		return tvPrefix;
	}

	public void setTvPrefix(TvPrefixProperties tvPrefix) {
		this.tvPrefix = tvPrefix;
	}

	public CDNProperties getCdn() {
		return cdn;
	}

	public void setCdn(CDNProperties cdn) {
		this.cdn = cdn;
	}

	public JobProperties getJob() {
		return job;
	}

	public void setJob(JobProperties job) {
		this.job = job;
	}

	public JSchProperties getJsch() {
		return jsch;
	}

	public void setJsch(JSchProperties jsch) {
		this.jsch = jsch;
	}

	public String getPushVPath() {
		return pushVPath;
	}

	public void setPushVPath(String pushVPath) {
		this.pushVPath = pushVPath;
	}

	public boolean isUseMemcache() {
		return useMemcache;
	}

	public void setUseMemcache(boolean useMemcache) {
		this.useMemcache = useMemcache;
	}

	
	
}
